/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package controller;

import java.awt.Point;
import type.mouseType;

/**
 *
 * @author JorgeLuis
 */
public class mouseController {
    
    private boolean clickRigth  = false;
    private boolean clickLeft   = false;
    private boolean clickCenter = false;
    
    private boolean pressedRigth  = false;
    private boolean pressedLeft   = false;
    private boolean pressedCenter = false;
    
    private mouseType state     = mouseType.mouseEntered;
    private Point   point       = null;

    public mouseController() {
    }

    public mouseType getState() {
        return state;
    }

    public boolean isClickCenter() {
        return clickCenter;
    }

    public boolean isClickLeft() {
        return clickLeft;
    }

    public boolean isClickRigth() {
        return clickRigth;
    }

    public boolean isPressedCenter() {
        return pressedCenter;
    }

    public boolean isPressedLeft() {
        return pressedLeft;
    }

    public boolean isPressedRigth() {
        return pressedRigth;
    }

    public void setClickCenter(boolean clickCenter) {
        this.clickCenter = clickCenter;
    }

    public void setClickLeft(boolean clickLeft) {
        this.clickLeft = clickLeft;
    }

    public void setClickRigth(boolean clickRigth) {
        this.clickRigth = clickRigth;
    }

    public void setPressedCenter(boolean pressedCenter) {
        this.pressedCenter = pressedCenter;
    }

    public void setPressedLeft(boolean pressedLeft) {
        this.pressedLeft = pressedLeft;
    }

    public void setPressedRigth(boolean pressedRigth) {
        this.pressedRigth = pressedRigth;
    }

    public void setState(mouseType state) {
        this.state = state;
    }

    public Point getPoint() {
        return point;
    }

    public void setPoint(Point point) {
        this.point = point;
    }
    
}
